﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="AdminEdit.aspx.cs" Inherits="Admin_Pages_AdminEdit" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 118px;
        }
        .style2
        {
            width: 141px;
        }
    </style>
    <title>Management System</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="wraptitle">
    <h1>Admin Edit</h1>
</div>
<div class="wrapcontent">
<center>
    <table style="width: 600px;">
        <tr>
            <td align="left" class="style1">
                Username:
            </td>
            <td align="left" class="style2">
                <asp:Label ID="lblUser" runat="server" Text=""></asp:Label>
            </td>
            <td align="left">

            </td>
        </tr>
        <tr>
            <td align="left" class="style1">
                Password:
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="txtPass" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td align="left">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtPass" Display="Dynamic" 
                    ErrorMessage="* Password is not empty"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="left" class="style1">
                Re-Enter Password:
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="txtRePass" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td align="left">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtRePass" Display="Dynamic" 
                    ErrorMessage="* Re-Enter Password is not empty"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtPass" ControlToValidate="txtRePass" Display="Dynamic" 
                    ErrorMessage="* Re-Enter password must the same password"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td align="left" class="style1">
                
            </td>
            <td align="left" class="style2">
                <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
                <input type="reset" value="Reset" name="reset" />
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    </center>
</div>
</asp:Content>

